package com.qst.rongxiaoserver.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qst.rongxiaoserver.model.UserModel;
import com.qst.rongxiaoserver.model.dto.UserDto;

public interface IUserService extends IService<UserModel> {
//    更新用户信息
    boolean updateUser(UserModel userModel);
    // 更新密码
    boolean updatePassword(UserDto userDto);

    // 获取用户列表
    Page<UserModel> getUserList(int pageNum, int pageSize, String phone, String nickName);

}
